<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>查看一个产品详细信息</title>
</head>
<body>
<script>
    $(function () {
        $("#detailsPro-form").form({
            onLoadSuccess:function () {
                $("#hut-pid-details").next().hide();
            }
        });
        $("#detailsPro-close").linkbutton({onClick:function () {
                var row = $("#pdg").datagrid("getSelected");
                $("#detilsPro"+row.pid).dialog("close");
            }});
    });
</script>
<div class="form-div">
    <form id="ProDetails-form" action="" method="">
        <div class="div-title-hut"> --------------------------------<span class="span-title">产品详细信息</span>---------------------------</div>
        <div class="ddt">
            <input  id="hut-pid-details" name="pid" class="easyui-textbox" data-options="label:'产品id',required:true,width:300,editable:false">
        </div>
        <div class="ddt">
            <input  id="hut-pname-details" name="pname" class="easyui-textbox" data-options="label:'产品名称',required:true,width:300,editable:false">
        </div>
        <div class="ddt">
            <input id="hut-pcategory-details" name="pCategoryname" class="easyui-textbox" data-options="required:false,
        label:'产品分类名称',editable:false,panelHeight:'auto',width:300" >
        </div>
        <div class="ddt">
            <input id="hut-poprice-details" name="poprice" class="easyui-textbox" data-options="label:'产品成本价格',width:300,editable:false">
        </div>
        <div class="ddt">
            <input id="hut-pprice-details" name="pprice" class="easyui-textbox" data-options="label:'产品销售价格',width:300,editable:false">
        </div>
        <div class="ddt">
            <input id="hut-pcompany-details" name="pcompany" class="easyui-textbox" data-options="label:'产品厂家',width:300,editable:false">
        </div>
        <div class="ddt">
            <input id="hut-pbirthday-details" name="pbirthday" class="easyui-textbox" data-options="label:'产品生产日期',width:300,editable:false">
        </div>
        <div class="ddt">
            <input id="hut-pouttime-details" name="pouttime" class="easyui-textbox" data-options="label:'产品失效日期',width:300,editable:false">
        </div>
        <div style="text-align: center; ">
            <input id="hut-ptype-details" name="ptype" class="easyui-textbox" data-options="label:'产品型号',width:180,editable:false"><div style="width: 25px;display: inline-block"></div>
            <input id="hut-pspec-details" name="pspec" class="easyui-textbox" data-options="label:'产品规格',width:180,editable:false"><div style="width: 25px;display: inline-block"></div>
            <input id="hut-pwunit-details" name="pwunit" class="easyui-textbox" data-options="label:'产品单位',width:180,editable:false">
        </div>
        <div class="btn" style="text-align:center;margin-top:50px;">
            <a id="detailsPro-close" class="easyui-linkbutton " data-options="iconCls:'icon-ok2'">确定</a>
        </div>
    </form>
</div>
</body>
</html>
